/* 
 * File:   RapidMain.h
 * Author: dell
 *
 * Created on 2012年5月11日, 下午1:45
 */

#ifndef RAPIDMAIN_H
#define	RAPIDMAIN_H

#include <string>
#include "config/RapidConfigManager.h"

namespace Rapid{
    class RapidMain {
    public:
        RapidMain();
        virtual ~RapidMain();

        int main(int argc, char** argv);

    public:
        static std::string homeDir;
        
    private:
        bool existFileCachedCleanProcess(std::string& homedir);
    private:
        RapidConfigManager rapidConfigManager;
    };
}
#endif	/* RAPIDMAIN_H */

